package com.service.imp;

import com.dao.SelectDao;
import com.pojo.Goods;
import com.pojo.Member;
import com.pojo.Provider;
import com.pojo.User;
import com.service.SelectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SelectServiceImp implements SelectService {
    @Autowired
    private SelectDao selectDao;
    public List<User> getUser() {
        return selectDao.getUser();
    }

    public List<User> selectUser(String uservalue) {
        return selectDao.selectUser(uservalue);
    }

    public List<Provider> getProvider() {
        return selectDao.getProvider();
    }

    public List<Provider> selectProvider(String providervalue) {
        return selectDao.selectProvider(providervalue);
    }

    public List<Goods> getGoods() {
        return selectDao.getGoods();
    }

    public List<Goods> selectGoods(String goodsvalue) {
        return selectDao.selectGoods(goodsvalue);
    }

    public List<Member> getMember() {
        return selectDao.getMember();
    }

    public List<Member> selectMember(String membervalue) {
        return selectDao.selectMember(membervalue);
    }
}
